// 基于准备好的dom，初始化echarts实例
var myChart = echarts.init(document.getElementById('content_right_son2'));

// 指定图表的配置项和数据
option = {
    title: {
        text: '流浪小猫咪/小狗狗分布图'
    },
    tooltip: {},
    legend: {
        data:['城市']
    },
    color: "#7EC0EE",
    xAxis: {
        data: ["城市1","城市2","城市3","城市4","城市5","城市6","城市7","城市8","城市9","城市10","城市11","城市12","城市13","城市14","城市15"]
    },
    yAxis: {},
    series: [{
        name: '城市',
        type: 'bar',
        data: [5, 20, 36, 10, 10, 20, 20, 36, 10, 10, 20, 20, 36, 10, 10]
    }]
};

// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);